package com.ok.activity.domain.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel(value="OkActivityDto对象", description="活动Dto")
public class OkActivityDto {

    @ApiModelProperty(value = "活动名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "活动描述")
    @TableField("synopsis")
    private String synopsis;

    @ApiModelProperty(value = "图片")
    @TableField("img")
    private String img;

    @ApiModelProperty(value = "对应积分")
    @TableField("integral")
    private Double integral;

    @ApiModelProperty(value = "活动凭证")
    @TableField("voucher")
    private String voucher;

    @ApiModelProperty(value = "活动数量")
    private Integer num;

    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endTime;
}
